﻿@model Wlog.Web.Models.LoginModel

@{
    ViewBag.Title = "";
}

<hgroup class="title">
    <h1>@ViewBag.Title</h1>
</hgroup>


<div class="row" style="min-height: 10px;">
    <div class="col-lg-8">
        <h2>Use a local account to log on.</h2>
        @using (Html.BeginForm("Login", "Account", FormMethod.Post, new { @class = "form-horizontal" }))
        {
            @Html.AntiForgeryToken()
            @Html.ValidationSummary(true)

        
            <fieldset>
                <legend></legend>
                <div class="form-group">
                    @Html.LabelFor(x => x.UserName, new { @class = "col-lg-2 control-label" })
                    <div class="col-lg-10">
                        @Html.TextBoxFor(m => m.UserName, new { @class = "form-control" })
                        @Html.ValidationMessageFor(m => m.UserName)
                    </div>
                </div>
                <div class="form-group">
                    @Html.LabelFor(x => x.Password, new { @class = "col-lg-2 control-label" })
                    <div class="col-lg-10">
                        @Html.PasswordFor(m => m.Password, new { @class = "form-control" })
                        @Html.ValidationMessageFor(m => m.Password)
                        <div class="checkbox">
                            <label>
                                @Html.CheckBoxFor(m => m.RememberMe) Remember Me</label>
                        </div>
                    </div>

                </div>
                <div class="col-lg-10 col-lg-offset-2">
                    <input type="submit" value="LogIn" class="btn btn-primary" />
                </div>
@*                <div class="col-lg-10 col-lg-offset-2" style="padding-top: 10px;">
                    <p>
                        @Html.ActionLink("Registrazione", "Register") se non si dispone di un account.
                    </p>
                </div>*@
            </fieldset>

            <div class="col-lg-4">
            </div>

        }

    </div>
</div>

